package cn.dancepeak.system.service;

import cn.dancepeak.system.domain.Menu;
import cn.dancepeak.system.query.MenuQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMenuServiceImpl {

    void add(Menu menu);

    void update(Menu menu);

    void delete(Long id);

    void deleteByList(List<Long> ids);

    Menu getById(Long id);

    PageInfo<Menu> page(MenuQuery menuQuery);

    List<Menu> tree();

}
